$(function () {
 var $as=$('.schools>.map a');
 $as.click(function () {
     var idx=$(this).index();
     console.log(idx);
     $('.subjects>ul>li').eq(idx-1).show().siblings().hide();
    console.log($('.subjects>ul>li'))
 });
});